<div class="backend clearfix">

	<h2>All Entries <?=isset($category->name)? 'for <span>'.$category->name.'</span>' : '' ?></h2>
	
	<table class="table">
	
		<thead>
			<tr>
				<th>Title</th>
				<th>URL</th>
				<th colspan="2"><span id="tip" class="functions text-center">&nbsp;</span></th>
			</tr>
		</thead>
	
		<tbody>
		<?php foreach($entries as $entry): ?>
		<tr>
			<td><?=$entry->title?></td>
			<td><?=$entry->url?></td>
			<td class="functions">
				<?=anchor('listings/details/'.$entry->entry_id, 'Show', array('class' => 'icon detail tip', 'title' => 'Show'))?>
				<?=anchor('admin/entries/remove/'.$entry->entry_id, 'Delete', array('class' => 'confirm icon delete tip', 'title' => 'Delete'))?>
			</td>
		</tr>
		<?php endforeach ?>
		</tbody>
	</table>
	
</div>
